<?php
/**
 * 管理员验证
 * User: 董坤鸿
 * Date: 2017/9/13
 * Time: 下午1:01
 */

namespace app\admin\validate;

use think\Validate;

class Admins extends Validate
{
    /**
     * 规则
     * @var array
     */
    protected $rule = [
        'mobile' => 'require',
        'password' => 'require',
    ];

    /**
     * 消息
     * @var array
     */
    protected $message = [
        'mobile.require' => '请输入账号',
        'password.require' => '请输入密码',
    ];
}